<div class="PaperShelf-form">
  <%= error_messages_for 'user' %>
  <fieldset>
     <% form_for :student do |form| %>
       
    <legend>Registration Information</legend>
      <p>
        <label for="account">*Name:</label>  
        <%= form.text_field  :account, :size => 40 %>
      </p>

      <p>
        <label for="stuid">*StudnetId:</label>
        <%= form.text_field :stuid, :size => 40 %>
      </p>

      <p>
        <label for="email">Email:</label>
        <%= form.text_field :email, :size => 40 %>
      </p>

      <p>
        <label for="sex">Sex:</label>
       <%= form.select :sex, %w{ male female } %>
        
      </p>

      <p>
        <label for="tel">Tel:</label>
        <%= form.text_field :tel, :size => 40 %>
      </p>

      <p>
        <label for="MSN">MSN:</label>
        <%= form.text_field :MSN, :size => 40 %>
      </p>

      <%= submit_tag "Amend", :class => "submit" %>
       <% end %>  
     </fieldset>
</div>